Click or drag to resize

FileAttachment Constructor (Stream, String, String)

Initializes a new instance of the FileAttachment class.

Namespace:  Independentsoft.Exchange
Assembly:  Independentsoft.Exchange (in Independentsoft.Exchange.dll) Version: 3.0.840.11238
Syntax
public FileAttachment(
	Stream stream,
	string name,
	string contentType
)

Parameters

stream
Type: System.IOStream
The stream.
name
Type: SystemString
The name.
contentType
Type: SystemString
Type of the content.
Exceptions
ExceptionCondition
ArgumentNullExceptionstream
See Also